Syntax
A tag must be written in a separate comment line,
More than one tag may be written in the same comment line,
Tags are case sensitive (for better performance).
For example:
' vbwNoErrorHandler vbwNoTraceProc
is valid (separate comment line)
Dim i As Integer ' vbwNoErrorHandler
is not valid (in-line comment)
' vbwnoerrorhandler
is not
valid (doesn't respect the case)
Where should tags appear in the code
Tags written in the declaration section of a module are valid for the whole module. There is no need to rewrite them inside each procedure.
Tags written in a procedure are valid from the place they appear until the end of the procedure, unless the opposite tag appears. In case of conflict with a module tag, the procedure tag prevails.
Procedures tags that affects the procedure behaviour (such as vbwNoErrorHandler or vbwProfileProc for example) should be written right after the procedure declaration, or it might be too late for these to take effect.
Actually, the last tag read is the tag that prevails. For example, you can use as many vbwTraceLine and vbwNoTraceLine tags as you wish inside the same procedure to delimit portions of code that should be traced or not.
Example
The \VB Watch 2\Templates\VB6\Protector\vbwProtector.bas template file itself contains tags. Look at the end of the declaration section and at the begining of some procedures...